import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import ElementPlus from "element-plus"
import 'element-plus/dist/index.css'
// import echarts from './echarts/echarts'
import axios from "axios"
import 'element-plus/theme-chalk/el-icon.css'
import i18n from '@/i18n'
import './assets/iconfont/iconfont.css'
import dataV from '@jiaminghi/data-view'

//引入全局按钮样式
import './assets/css/button.css'

import FileSaver from 'file-saver'
import * as XLSX from 'xlsx'


const app = createApp(App)
axios.defaults.baseURL = '/api'
// app.provide('$axios', axios)
app.use(store).use(router).use(i18n).use(ElementPlus).use(dataV).mount("#app");